Provide a variant of __RING_SIZE() that is an integer constant
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Feb 2010 11:03:56 +0000 (11:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Feb 2010 11:03:56 +0000 (11:03 +0000)
commitcd341a3465ecd2aa72a0a0c9c676f68708b399cb
treed56edc6e78fd30ae7a2e022303ce21a16f540baf
parent1afe671e3aa7de913ac93152864f0b524ec291f6
Provide a variant of __RING_SIZE() that is an integer constant
expression

Without that, gcc 4.5 won't compile (at least) netfront, where this is
being used to specify array sizes.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/include/public/io/ring.h
xen/include/public/io/usbif.h